<% @page_title = "在#{h @group.title}小组写新话题 | 多背一公斤 - 灾后学校重建计划" -%>

<% content_for :sidebar do -%>
  <h2><%= link_to "返回#{h @group.title}", group_url(@group.id) %></h2>
<% end -%>

<h1>写新话题</h1>
<% form_for :topic, :url => topics_path do |f| -%>
  <%= render :partial => 'form', :object => f %>
  <%= submit_tag "写好了，提交" %>
<% end -%>